package demo.service;

import demo.dao.User;

public class UserService extends BasicService{

	public static final String  TableName = "wb_user";
	
	public User  querys(String name,String password){
		String sql ="select* from "+TableName+" where   username='"+name+"'  and password='"+password+"'";
	   User   user= User.dao.findFirst(sql);
		return user;	
	}
}
